home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / mac / files / t_sys5 / unixcpio.gz / unixnet.cpio / startup.net < prev    next >
Text File  |  1994-07-11  |  8KB  |  240 lines

  1. #  A U T O E X E C . N E T
  2. #
  3. #  The configuration file for the NET.EXE program...  this file
  4. #  *MUST* be in the root directory ( \ ) of your current disk when
  5. #  NET.EXE is run!
  6. #
  7. #  Note: NET.EXE ignores all lines beginning with a pound sign (#).
  8. #
  9. #  **********************************************************
  10. #  **** Read USEGUIDE.DOC to help understand this file! *****
  11. #  **********************************************************
  12. #
  13. #    There are many commands which must be provided to NET.EXE 
  14. #    each time it is started to configure the program.  To keep
  15. #    from having to type them by hand each time, we put them in
  16. #    this file, which is read each time NET starts up.  Commands
  17. #    in this configuration file are entered exactly as they would
  18. #    be typed at the keyboard in the program.
  19. #
  20. #    We've tried to give you intelligent default values for each of
  21. #    the commands below.  You need to read completely through this
  22. #    file, changing things as you go.  If you're not sure what to
  23. #    do with a command, try leaving it like it is!  Once you become
  24. #    familiar with the package, you'll no doubt find things to change.
  25. #    Once you're up and running and are all set, you can delete some or
  26. #    all of the comment lines (the ones that start with '#') to save
  27. #    disk space and make the program load faster, if you wish.
  28. #
  29. #-----------------------------------------------
  30. # This entry tells NET.EXE the name of your machine. The suffix 
  31. # 'ampr.org' is officially recognized as meaning an "AMateur Packet Radio" 
  32. # station.  Your hostname will show up in mail headers, etc.
  33. #
  34. hostname n6xjj.ampr.org
  35. #
  36. #-----------------------------------------------
  37. #
  38. # The next line does the same thing that "MYCALL" did in your AX.25 
  39. # TNC... it identifies the callsign you're using on the air in AX.25
  40. # packets.
  41. #
  42. ax25 mycall n6xjj-3
  43. #
  44. #-----------------------------------------------
  45. #
  46. # This one contains your IP address.  If you have not as yet 
  47. # obtained an IP address you may temporarily use the one shown
  48. # but insert a random number (between 1 and 255) in lieu of
  49. # the '*'.  Try to insure that no one else in your area is using
  50. # the same number as you are!  Brackets are required.
  51. #
  52. ip address [44.16.0.134]
  53. #
  54. #------------------------------------------------
  55. #
  56. # The attach command tells NET.EXE about the interfaces in your computer
  57. # that you will be using for TCP/IP.  These can include normal IBM-type
  58. # serial "comm ports", Ethernet controllers, or dedicated packet cards.
  59. # The syntax is:
  60. # attach <hw type> <I/O address> <vector> <mode> <label> <bufsize> 
  61. #        <mtu> [<speed>]
  62. #
  63. # See USERMAN.DOC for explanation of the attach command and its options.
  64. #
  65. # This entry sets you up on COM1 as a 4800 baud KISS connection 
  66. # for use with KISS TNC's.  This is a reasonable place to start...
  67. #
  68. attach asy 0 /dev/ttyia ax25 ax0 2048 256 9600
  69. #
  70. # ...and here are some other possible attach commands you may find useful
  71. # as given, or just as examples of what you can do... see USEGUIDE.DOC for
  72. # more examples.
  73. #
  74. # COM2: set up as a 1200 baud KISS connection
  75. #
  76. #attach asy 0x2f8 3 ax25 ax1 2048 256 1200
  77. #
  78. # COM1: set up as a 9600 baud slip link to another computer
  79. #
  80. #attach asy 0x3f8 4 slip sl0 8092 576 9600
  81. #
  82. # FTP, Inc., compatible packet driver installed at software interrupt number
  83. # 0x7e... probably an Ethernet card of some kind.
  84. #
  85. #attach packet 0x7e lan 5 1500
  86. #
  87. #-------------------------------------------------
  88. #
  89. # The KISS computer-to-tnc protocol includes a "command packet" that
  90. # you can use to twiddle TNC parameters like TXDELAY, TXTAIL, PERSIST,
  91. # and SLOTTIME.  Since most KISS implementations include good default
  92. # values, you shouldn't have to use this feature, but if things don't
  93. # work, you can use the "param" command to try tweaking the TNC.  If
  94. # you think you need to do this, read the KISS protocol documentation,
  95. # and/or talk to a friend who's an expert, *before* you go dorking with
  96. # your TNC settings!  All TNC's were not created equal, so you *MUST* read
  97. # the docs for the KISS implementation for your TNC as well.
  98. #
  99. # WHEW!  Good thing you probably don't have to do this, right?
  100. #
  101. # As an example, N3EUA's TNC-1 with a gross old crystal
  102. # rig and an RF-switched outboard amplifier likes longer TXDELAY and 
  103. # TXTAIL values than the defaults:
  104. #
  105. param ax0 1 40
  106. #          param ax0 4 10
  107. #
  108. # The format is:  param <label> <hex value> <hex value> <hex value> ...
  109. #
  110. #-------------------------------------------------
  111. #
  112. # The following entry tells the program to route all packets out 
  113. # the interface labeled ax0 in the attach command.  Notice that if you
  114. # are using the attach line from above for COM2, the label is 'ax1'
  115. # instead.  
  116. #
  117. route add default ax0
  118. #
  119. #-------------------------------------------------
  120. #
  121. # Time To Live is the maximum number of hops a packet can take 
  122. # before it is thrown away. This command prevents an inadvertent 
  123. # infinite loop from occuring with packets in the network.
  124. #
  125. ip ttl 16
  126. #
  127. #-------------------------------------------------
  128. #
  129. # The Maximum Segment Size is the largest single transmission that 
  130. # you care to receive.  An mss of 216 will force folks to send you
  131. # packets of 256 characters or less (counting the overhead).  
  132. #
  133. tcp mss 216
  134. #
  135. #-------------------------------------------------
  136. #
  137. # The Window parameter establishes the maximum number of bytes 
  138. # that may be outstanding before your system expects an ack.
  139. # If window is twice as big as mss, for example, there will be two
  140. # active packets on the channel at any given time... large values of
  141. # window provide improved throughput on full-duplex links, but are a
  142. # problem on the air.  Keep  mss <= window <= 2*mss if you're on the air.
  143. #
  144. tcp window 432
  145. #
  146. #------------------------------------------------- 
  147. #
  148. # This entry will open net.log in the \spool directory and will 
  149. # record the server activity of your system.  If you don't want a log,
  150. # comment out this line... if you do, make sure you have a \spool
  151. # directory!
  152. #
  153. log /usr/spool/net.log
  154. #
  155. #-------------------------------------------------
  156. #
  157. # Each of the servers (services you will provide) must be turned 
  158. # on before they will be active. The following entries turn all 
  159. # of them on. To turn any function off use the command 'stop' after
  160. # NET gets fired up, or just comment out the line here.
  161. #
  162. start smtp
  163. start ftp
  164. start echo
  165. start discard
  166. start telnet
  167. start finger
  168. #
  169. #-------------------------------------------------- 
  170. #
  171. # AX.25 Configuration 
  172. #
  173. # The values in the following entries reflect default values.
  174. # These values come into play when you are operating in the 
  175. # AX.25 mode, along with your ax25 mycall entry above. 
  176. #                                                                    
  177. # If you want to operate as a digipeater (for those poor souls
  178. # not operating TCP/IP!), change 'off' to 'on'.
  179. #
  180. ax25 digipeat off
  181. #
  182. #---------------------------------------------------
  183. #
  184. # Maxframe sets the max number of frames allowed to remain 
  185. # unacknowledged. Cannot be greater than 7.  1 is a good number!
  186. #
  187. ax25 maxframe 1
  188. #
  189. #---------------------------------------------------
  190. #
  191. # Paclen limits the size of I=fields. 
  192. #
  193. ax25 paclen 256
  194. #
  195. #---------------------------------------------------
  196. #
  197. # Retry limits the number of unsuccessful retransmissions.
  198. #
  199. ax25 retry 20
  200. #
  201. #---------------------------------------------------
  202. #
  203. # ax25 window sets the number of bytes that can be pending on an 
  204. # AX.25 receive queue.
  205. #
  206. ax25 window 2048
  207. #
  208. #---------------------------------------------------
  209. #
  210. # to turn on the AX.25 mailbox, you need to use the mbox command
  211. #
  212. smtp timer 1800
  213. mbox on
  214. #
  215. # netrom configuration data
  216. attach netrom
  217. netrom interface ax0 #xjj.i 192
  218. netrom verbose no
  219. netrom nodetimer 600
  220. netrom obsotimer 3600
  221. route add to.wa6fxt.ampr.org netrom to.wa6fxt.ampr.org
  222. route add to_at.wa6fxt.ampr.org netrom to_at.wa6fxt.ampr.org
  223. route add n6are.ampr.org ax0 n6are.ampr.org
  224. route add k6ugg.ampr.org netrom k6ugg.ampr.org
  225. route add kb6cun.ampr.org netrom kb6cun.ampr.org
  226. route add lap.kb6cun netrom lap.kb6cun
  227. #
  228. #    arp route configuration information
  229. arp add to_at.wa6fxt.ampr.org netrom wa6fxt-5
  230. arp add to.wa6fxt.ampr.org netrom wa6fxt-4
  231. arp add n6are.ampr.org ax0 n6are-3
  232. arp add k6ugg.ampr.org netrom k6ugg-3
  233. arp add kb6cun.ampr.org netrom kb6cun-3
  234. netrom bcnodes ax0
  235. # THE END
  236.  
  237.